package com.yourcompany.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_notice")
@Schema(description = "系统通知")
public class SysNotice extends BaseEntity {
    
    @Schema(description = "标题")
    private String title;
    
    @Schema(description = "内容")
    private String content;
    
    @Schema(description = "类型：system/business/other")
    private String type;
    
    @Schema(description = "状态：0-待发布 1-已发布 2-已撤回")
    private Integer status;
    
    @Schema(description = "发布时间")
    private LocalDateTime publishTime;
    
    @Schema(description = "创建人ID")
    private Long creatorId;
    
    @Schema(description = "修改人ID")
    private Long modifierId;
} 